v365 — CORI Mail provider, draft, and work-conversion foundation

Purpose

v365 deepens CORI Mail after the first interface foundation. The goal is to move the page closer to a real AI email operating surface while keeping it simple for dispatch users.

CORI Mail should not feel like a normal inbox. It should feel like an assistant that reads the email, explains what matters, drafts the answer, and helps turn the email into dispatch work.

What changed

User-facing principle

The user should see plain next steps, not email technology details.

Good wording: Needs answer now, Draft saved, Turn email into work, Review first, Connect email to send.

Avoid: OAuth scope negotiation, provider authorization grant, immutable message ID mapping, token refresh lifecycle.

Guardrail

CORI may prepare, draft, stage, and suggest. CORI must not send a real email until the user approves the final message.

Provider readiness

The new provider readiness service checks configuration shape for Gmail and Outlook client IDs, client secrets, redirect URLs, draft sync setting, and send enable setting. Live send remains locked by default.

Prisma schema impact

No Prisma schema changes were made in v365.